package cn.dubito.learning.code;

import cn.dubito.learning.security.core.validator.code.ImageCode;
import cn.dubito.learning.security.core.validator.code.ValidateCodeGenerator;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;

/**
 * @author liliang
 * @description:
 * @date 2018/5/7.
 */
//@Component("imageCodeGenerator")
public class DemoImageCodeGenerator implements ValidateCodeGenerator {

    @Override
    public ImageCode createCode(HttpServletRequest request) {
        System.out.println("应该写更高级的图形验证码生成代码");
        return null;
    }
}
